package transactionimplementation

import (
	AbstractTransactions "SoftwareEngineering/AbstractTransactions"
	Model "SoftwareEngineering/Model"
)

type ChangeAddressTransaction struct {
	AbstractTransactions.ChangeEmployeeTransaction
	itsAddress string
}

func (c *ChangeAddressTransaction) Change(e *Model.Employee) {
	e.SetAddress(c.itsAddress)
}
